<?php
namespace app\common\validate;

use think\Validate;

class ExaminationSubjectValidate extends Validate
{
    protected $rule =   [
        'teacher_name'  => 'require|max:200'
    ];
    
    protected $message  =   [
        'teacher_name.require' => '监考老师必须填写'
    ];
    
    protected $scene = [
        'add'  =>  ['teacher_name']
    ];
}
